//
// Created by lenovo on 2021/11/28.
//
#include <string.h>
#include <process.h>
#include "stdio.h"

char *strBind(char a[], char b[]);

int experiment2() {
    char s1[30];
    char s2[10];
    gets(s1);
    gets(s2);
    printf("%s\n", strBind(s1, s2));
    system("pause");
}

char *strBind(char *a, char *b) {
    char *p = a;
    while (*p != '\0') {
        p++;
    }
    while ((*p = *b) != '\0') {
        p++, b++;
    }
    return a;
}